package jp.co.itfrontier.mashup.vo
{
	import flash.utils.Dictionary;
	
	[Bindable]
	/**
	 * Bookクラス
	 * http://webservice.rakuten.co.jp/api/booksearch/
	 */
	public class BookVO implements IValueObject {
		
		public var asin:String;
		public var salesRank:Number;
		
		public var title:String;

		public var smallImage:ImageVO;
		public var middumImage:ImageVO;
		public var largeImage:ImageVO;

/* 		public function getImage(w:Number, h:Number):ImageVO {
			var s:Number = (smallImage.width - w) + (smallImage.height - h)
		}
 */
		public var imageURL:String;
		public var word:String;
		public var rating:Number;
		public var bookState:String;
		
		public var link:String;
		
		// 難しいかも
		//public var detail:String;
		
		public var author:String;
		
		//public var creator:Dictionary;
		
		public var publisher:String;
		
		public var publishData:String;
		
		public var isbn:String;
		
		public var prise:Number;
		
		[ArrayElementType(type='jp.co.itfrontier.mashup.vo.ReviewVO')]
		public var reviews:Array;
		
		public var pageMax:Number;
		
		public var imageSizeX:int;
		public var imageSizeY:int;
		public var textSizeX:int;
		public var textSizeY:int;
		public var outputSizeX:int;
		public var outputSizeY:int;
		
		
	}
}